package cloud.server2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class CloudApp2 
{
	/**
	 * 使用整合Spring boot框架启动服务，并调用其他两个服务server1和server2
	 * @param args
	 */
		public static void main(String[] args) {
			SpringApplication.run(CloudApp2.class, args);
			System.out.println("===============================================================================");
			System.out.println("============= CloudApp2 Started ON SpringBoot Success=============");
			System.out.println("===============================================================================");
		}
}
